#pragma once

#include <optional>
#include <string_view>

namespace blitz_query_cpp
{
    class data_reader
    {
    protected:
        int column_count = 0;

    public:
        virtual bool next_row() = 0;
        virtual std::string_view read_value(int column) = 0;

        int get_column_count() const { return column_count; }
    };
}
